<div class="view" <?php if(($index+1)%3 == 0){echo 'style="margin-right:0px;"';} ?>>
        <?php
//    if(!Yii::app()->user->isGuest){
//        echo '<div class="admin_tool">';
//        echo CHtml::link(CHtml::image(Yii::app()->baseUrl.'/assets/e7209743/gridview/update.png','Update',array('title'=>'Update')),Yii::app()->createUrl('/project/update',array('id'=>$data->id)));
//        echo '</div>';
//    }
    ?>
	<?php echo CHtml::link(CHtml::image($data->thumbnail,$data->name),Yii::app()->createUrl('/artist/view',array('id'=>$data->id))); ?>
        <div class="hover_info">
            
        <h4><a href="<?php echo Yii::app()->createUrl('/artist/view',array('id'=>$data->id)) ?>"><?php echo CHtml::encode($data->name); ?></a></h4>
        <p>
        <?php
        echo Tool::character_limiter(Tool::delete_htm($data->io), 80);
        ?>
        </p>
    </div>
</div>